import { createApp } from "vue"
import App from "./App.vue"
import { store } from "./store"
import router from "./router"
import XiaoYouEditor from "xiao-you-editor/lib/index"
import setupMyComp from "@/blogComponents/index"
import { useBackgroundImage, useEssays, useArticles } from "@/hooks"

createApp(App).use(store).use(setupMyComp).use(XiaoYouEditor).use(router).mount("#app")

useArticles()
useEssays()
useBackgroundImage()
